###
 # @Author: Clark
 # @Email: haixuanwoTxh@gmail.com
 # @Date: 2021-12-01 10:36:07
 # @LastEditors: Clark
 # @LastEditTime: 2021-12-01 12:02:49
 # @Description: file content
###

# My first shell program echo
# give executeable permissions and run
# chmod +x echo.sh
# ./echo.sh

#!/bin/bash

# 1、显示普通字符串
echo "Hello World !"

# 2、显示转义字符
echo "\" It is a test"

# 3、显示变量
#read name
echo $name

# 4、显示换行
echo -e "OK!\n" # -e 开启转义

# 5、输出重定向
echo my name is tan > test.txt

# 6、显示命令结果
echo `date`
